"""
ihrm登录接口的普通版本

URL: http://ihrm-test.itheima.net/api/sys/login

JSON: {"mobile":"13800000002","password":"123456"}
"""
import requests

resp = requests.post(url="http://ihrm-test.itheima.net/api/sys/login",
                     json={"mobile": "13800000002", "password": "123456"})

print("响应数据", resp.json())
